x86/xsaves: add basic definitions/helpers to support xsaves
authorShuai Ruan <shuai.ruan@linux.intel.com>
Tue, 27 Oct 2015 10:42:57 +0000 (11:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 27 Oct 2015 10:42:57 +0000 (11:42 +0100)
commit2c21beba4e7bff001181322348f5f111742e83f0
tree61ce8d6926a330237c07c61b80ea2b8e2bbde11f
parent5c23c760a8ef4cec4aaef11575b85fd17e82986c
x86/xsaves: add basic definitions/helpers to support xsaves

This patch add basic definitions/helpers which will be used in
later patches.

Signed-off-by: Shuai Ruan <shuai.ruan@linux.intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/xstate.c
xen/include/asm-x86/hvm/vcpu.h
xen/include/asm-x86/msr-index.h
xen/include/asm-x86/xstate.h